<template>
  <footer class="footer-container">
    <div class="copy">
      <p class="link-one">
        <a class="link-item" v-for="(item,index) in link" :key="index" href="#">{{ item }}</a>
      </p>
      <p class="link-two">
        <a class="link-two-item" v-for="(item,index) in linkTwo" :key="index" href="#">{{ item }}</a>
      </p>
      <p class="link-three">
        <a class="link-three-item" v-for="(item,index) in linkThree" :key="index" href="#">{{ item }}</a>
      </p>
      <p class="link-four">
        <a class="link-four-item" v-for="(item,index) in linkFour" :key="index" href="#">{{ item }}</a>
      </p>
    </div>
    <div class="gitee">
      <p>
        <a href="https://gitee.com/lu-luxun">欢迎进入我的gitee,喜欢的话点个星吧！</a>
        <span>https://gitee.com/lu-luxun</span>
      </p>
    </div>
  </footer>
</template>

<script>
export default {
  name: "FooterMessage",
  data() {
    return {
      link: ['服务条款', '隐私政策', '儿童隐私政策', '版权投诉指引', '意见反馈'],
      linkTwo: ['网易公司版权所有©1997-2021', '杭州乐读科技有限公司运营', '浙网文[2021] 1186-054号'],
      linkThree: ['违法和不良信息举报电话：0571-89853516', '举报邮箱：ncm5990@163.com'],
      linkFour: ['粤B2-20090191-18  工业和信息化部备案管理系统网站', '浙公网安备 33010902002564号'],
    }
  },
}
</script>

<style scoped lang="less">
.footer-container {
  padding: 0 20% 0 20%;
  border-top: 1px solid #b4b1af;
  height: 200px;
  display: flex;
  
  .copy {
    padding-top: 20px;
    width: 60%;
    
    .link-one {
      display: flex;
      justify-content: space-between;
      margin-bottom: 10px;
      
      .link-item {
        font-size: 12px;
      }
    }
    
    .link-two {
      display: flex;
      justify-content: space-between;
      margin-bottom: 10px;
      
      .link-two-item {
        font-size: 12px;
      }
    }
    
    .link-three {
      display: flex;
      justify-content: space-between;
      margin-bottom: 10px;
      
      .link-three-item {
        font-size: 12px;
      }
    }
    
    .link-four {
      display: flex;
      justify-content: space-between;
      margin-bottom: 10px;
      
      .link-four-item {
        font-size: 12px;
      }
    }
  }
  
  .gitee {
    padding-top: 20px;
    padding-left: 20px;
    
    p {
      display: flex;
      flex-direction: column;
      align-items: center;
      
      a {
        font-size: 12px;
        margin-bottom: 10px;
      }
      span{
        font-size: 12px;
        margin-bottom: 10px;
  
      }
    }
    
  }
}
</style>
